import request from '@/utils/request'
import { download } from '@/utils/request'

// 删除会员浏览
export function delLook(id) {
  return request({
    url: '/businessCore/faUserLook/' + id,
    method: 'delete'
  })
}

// 导出会员浏览
export function exportLook(params, fileName) {
  const url = '/businessCore/faUserLook/export'
  download(
    url,
    params,
    fileName + `_${new Date().getTime()}.xlsx`
  )
}